package com.lovo.lesson8.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lovo.lesson8.model.StudentDO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lovo.lesson8.model.dto.StudentDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bdk
 * @since 2020-11-24
 */
public interface StudentService extends IService<StudentDO> {
    Page selectAll(Integer page, Integer size);
    void saveStudent(StudentDTO studentDTO);
    StudentDTO selectById(String studentId);
}
